<?php
/////////////////////////////////////////////////////////////////////////////
// 
//
// workflow_system 
//
// workflow_copyright
// 
/////////////////////////////////////////////////////////////////////////////

/**
 * FILE_NAME : filter.manage.php   FILE_PATH : \\system\file_accepttable.php
 * 文件存取权限表
 *
 * @copyright Copyright (c) 2007 - 2007 www.shopnc.net 
 * @author workflow Develop Team 
 * @version Mon Apr 07 09:42:13 CST 2008
 */


class FileAccept {
	
	function  File_Accept($fileName)
	{

		$fileName = trim($fileName);
		$acceptNum= "";

		switch ($fileName){

			case "index":
				$acceptNum= "9999"; 
				break;
		
			case "baseinfo.manage":
				$acceptNum= "1001"; 
				break;
			case "system_power.manage":
				$acceptNum= "1002"; 
				break;	
			case "system_power.manage":
				$acceptNum= "1003"; 
				break;
			case "mailcontent.manage":
				$acceptNum= "1004"; 
				break;				
			case "payment.manage":
				$acceptNum= "1005"; 
				break;
			case "credits.manage":
				$acceptNum= "1006"; 
				break;
			case "exchange.manage":
				$acceptNum= "1007"; 
				break;
			case "language.manage":
				$acceptNum= "1008"; 
				break;
			case "keyword.manage":
				$acceptNum= "1009"; 
				break;
			case "filter.manage":
				$acceptNum= "1010"; 
				break;
				
			case "pclass.manage":
				$acceptNum= "1101"; 
				break;
			case "product.manage": 
				$acceptNum= "1102"; 
				break;	
			case "product.html": 
				$acceptNum= "1103"; 
				break;
			case "product_brand.manage":
				$acceptNum= "1104"; 
				break;
			case "product_datecall.manage": 
				$acceptNum= "1105"; 
				break;
			case "up_price.manage": 
				$acceptNum= "1106"; 
				break;
		
			case "order.manage":
				$acceptNum= "1201"; 
				break;
			case "complaint.manage":
				$acceptNum= "1202"; 
				break;	
			case "complaint.manage":
				$acceptNum= "1203"; 
				break;	

			case "member.manage":
				$acceptNum= "1301"; 
				break;
			case "member_group.manage":
				$acceptNum= "1302"; 
				break;					
			case "score.manage":
				$acceptNum= "1303"; 
				break;	
			case "receive.manage":
				$acceptNum= "1304"; 
				break;
			case "productmessage.manage":
				$acceptNum= "1305"; 
				break;
			case "shopmessage.manage":
				$acceptNum= "1306"; 
				break;	
			case "message.manage":
				$acceptNum= "1307"; 
				break;	
			case "agreement.manage":
				$acceptNum= "1308"; 
				break;	
			case "member_personal_certify.manage":
				$acceptNum= "1309"; 
				break;	
				
			case "shopcategory.manage":
				$acceptNum= "1401"; 
				break;
			case "shop.manage":
				$acceptNum= "1402"; 
				break;					
			case "shoplink.manage":
				$acceptNum= "1403"; 
				break;	
			case "shopproductcate.manage":
				$acceptNum= "1404"; 
				break;
			case "shop_drag.manage":
				$acceptNum= "1405"; 
				break;
			case "shop_agreement.manage":
				$acceptNum= "1406"; 
				break;
			case "shopentity.manage":
				$acceptNum= "1407"; 
				break;


			case "html.manage":          
				$acceptNum= "1501"; 
				break;
			case "channel.manage":       
				$acceptNum= "1502"; 
				break;
			case "channel.manage": 
				$acceptNum= "1503"; 
				break;				
			case "section.manage":          
				$acceptNum= "1504"; 
				break;
			case "area.manage":
				$acceptNum= "1505"; 
				break;
			case "news.manage":
				$acceptNum= "1506"; 
				break;
			case "advertisement.manage":
				$acceptNum= "1507"; 
				break;
			case "vote.manage":
				$acceptNum= "1508"; 
				break;
			case "link.manage":
				$acceptNum= "1509"; 
				break;								
			case "sqlback.manage":
				$acceptNum= "1510"; 
				break;	
			case "system_power.manage":
				$acceptNum= "1511"; 
				break;
			case "statics.manage":
				$acceptNum= "1512"; 
				break;
			case "channel_drag.manage":
				$acceptNum= "1513"; 
				break;
			
			case "predeposit.manage":
				$acceptNum= "1601"; 
				break;	
			case "shop_pay.manage":      
				$acceptNum= "1602"; 
				break;	
			
			case "app_module.manage":
				$acceptNum= "1701"; 
				break;	
			case "conformitymember.manage":      
				$acceptNum= "1702"; 
				break;
			case "integration.manage":      
				$acceptNum= "1703"; 
				break;

			default:
				$acceptNum ="";
				break;

		}

		return intval($acceptNum);
	}
}
?>